﻿#region Copyright(C) 2010-2012 FI Ltd. All rights reserved.
// ==================================================================================================
// Copyright(C) 2018 FI Ltd. All rights reserved.
//
// SYSTEM NAME	    : FI.Net Application Framework
// COMPONENT ID	    : FI.Core.StringResource.IStringResourceResolver
// COMPONENT DESC   : 
//
// CREATED DATE/BY  : 18 Aug 2018 / Tian Mi
//
// REVISION HISTORY : 
// DATE/BY			SR#/CS/PM#/OTHERS		DESCRIPTION OF CHANGE
// ==================================================================================================
#endregion

namespace FI.Core.StringResource
{
    /// <summary>
    /// String Resource Resolver Interface
    /// </summary>
    public interface IStringResourceResolver
    {
        /// <summary>
        /// Gets the resources.
        /// </summary>
        /// <param name="category">The category.</param>
        /// <param name="culture">The culture.</param>
        /// <returns>A <see cref="FI.Core.StringResource.StringRecordSet"/>.</returns>
        StringRecordSet GetResources(string category, string culture);

        /// <summary>
        /// Updates the resources.
        /// </summary>
        /// <param name="stringRecordSet">A <see cref="FI.Core.StringResource.StringRecordSet"/>.</param>
        void UpdateResources(StringRecordSet stringRecordSet);
    }
}
